package trading.util;

public class VIXFrontMonthCheckUtil {
	private static String vixFrontMonthPrice = null;
	private static Boolean tryingToGetFrontMonthDate = null;
	
    public static void setVIXFrontMonthPrice(String vixFrontMonthPrice) {
    	VIXFrontMonthCheckUtil.vixFrontMonthPrice = vixFrontMonthPrice;
	}
    
    public static String getVIXFrontMonthPrice() {
    	return vixFrontMonthPrice;
    }
    
    public static void startTestingFrontMonthDate() {
    	tryingToGetFrontMonthDate = true;
    }
    
    public static void finishTestingFrontMonthDate() {
    	tryingToGetFrontMonthDate = false;
    }
    
    public static Boolean isTryingToGetFrontMonthDate() {
    	return tryingToGetFrontMonthDate;
    }
    
    public static void reset() {
    	tryingToGetFrontMonthDate = null;
    	vixFrontMonthPrice = null;
    }
}
